
package com.freesky.biz.activity.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * 支付宝汇总表
 */
@Data
@ContentRowHeight(22)
@ColumnWidth(25)
@HeadRowHeight(25)
@HeadStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,
        verticalAlignment = VerticalAlignmentEnum.CENTER,
        borderLeft= BorderStyleEnum.THIN,
        borderRight= BorderStyleEnum.THIN,
        borderTop= BorderStyleEnum.THIN,
        borderBottom= BorderStyleEnum.THIN)//表头样式
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,
        verticalAlignment = VerticalAlignmentEnum.CENTER,
        borderLeft= BorderStyleEnum.THIN,
        borderRight= BorderStyleEnum.THIN,
        borderTop= BorderStyleEnum.THIN,
        borderBottom= BorderStyleEnum.THIN)
public class TAlipayBillSummary implements java.io.Serializable{

    @ExcelIgnore
    private String id;

    @ExcelProperty("渠道")
    private String deptName;

    @ExcelProperty("项目名称")
    private String projectName;

    @ExcelProperty("批次号")
    private String stockId;

    @ExcelProperty("批次名称")
    private String stockName;

    @ExcelProperty("开始时间")
    private String startTime;

    @ExcelProperty("结束时间")
    private String endTime;

    @ExcelProperty("核销笔数")
    private String usedCount;

    @ExcelProperty("核销金额")
    private String usedAmount;

    @ExcelProperty("订单总金额")
    private String orderMoney;

    @ExcelProperty("退款笔数")
    private String refundCount;

    @ExcelProperty("退款金额")
    private String refundAmount;

    @ExcelProperty("退款订单总金额")
    private String refundOrderMoney;

    @ExcelIgnore
    private Map<String, Object> params;

    public Map<String, Object> getParams() {
        if (params == null)
        {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params)
    {
        this.params = params;
    }

}
